<?php
$this->lang->load('template');
//$this->lang->load('validation');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0043)http://localhost/wodig/admin/Admin_left.asp -->
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK 
href="/css/admin.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<SCRIPT language=javascript>
	function showsubmenu(sid){
	    whichEl = eval('submenu' + sid);
	    if (whichEl.style.display == 'none'){
	        eval("submenu" + sid + ".style.display='';");
	    }
	    else{
	        eval("submenu" + sid + ".style.display='none';");
	    }
	}
		</SCRIPT>

<TABLE class=leftMain height="100%" cellSpacing=0 cellPadding=0 align=center 
border=0>
  <TBODY>
  <TR>
    <TD vAlign=top><IMG height=6 src="/images/admin/left_01.gif" 
    width=180></TD></TR>
  <TR>
    <TD vAlign=top>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD align=middle height=10></TD>
          <TD height=10></TD></TR>
		  <?php
			$tree = cat_subTree($modules,0);
			foreach($tree as $module):
			if(empty($module['url'])) $module['url'] = "javascript:void(0)";
		  ?>
        <TR class=nav onMouseOver="this.className='nav1'" onmouseout="this.className='nav'" onclick=showsubmenu(<?=$module['id']?>)>
          <TD align=middle width="20%">
          	<IMG height=9 src="/images/admin/left_ico.gif" width=8>
          </TD>
          <TD width="70%">
          	<A href="<?=$module['url']?>" <?php if ($module['is_blank']):?>target="_blank"<?php else: ?>target=main<?php endif; ?>>
          		<STRONG><?=$module['name']?></STRONG>
          	</A>
          </TD>
        </TR>
			<?php
			if($module['has_children']>0):
				$subTree = cat_subTree($modules,$module['id']);
			?>
			<tr>
			<TD id=submenu<?=$module['id']?> style="DISPLAY: none" colSpan=2>
            <TABLE height="100%" cellSpacing=0 cellPadding=0 width="98%" 
            bgColor=#ffffff border=0>
              <TBODY>
        
             <?php foreach($subTree as $smodule): 
			 if(empty($module['url'])) $module['url'] = "javascript:void(0)";
			 ?>
              <TR>
                <TD align=middle width="30%" height=25><IMG height=9 
                  src="/images/admin/left_ico.gif" width=8></TD>
                <TD width="70%"><A 
                  href="<?=$smodule['url']?>" <?php if ($smodule['is_blank']):?>target="_blank"<?php else: ?>target=main<?php endif; ?>><?=$smodule['name']?></A></TD></TR>
              <?php endforeach;?>
			  </TBODY></TABLE></TD>
			  </tr>
		<?php 
		endif;
		endforeach;?>
          </TR>
	
        
        
   
        </TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD>&nbsp;</TD>
          <TD>&nbsp;</TD></TR>
        <TR>
          <TD align=middle colSpan=2><IMG 
          src="/images/admin/left_line.gif"></TD></TR>
        <TR>
          <TD width="23%">&nbsp;</TD>
          <TD width="77%">&nbsp;</TD></TR>
        <!--<TR class=nav2>
          <TD align=middle><IMG height=16 src="/images/admin/left_ico2.gif" 
            width=16></TD>
          <TD align=left><A href="<?=site_url('users/email');?>" 
          target=_blank>企业邮局</A></TD></TR>
        <TR class=nav2>
          <TD align=middle><IMG height=16 src="/images/admin/left_ico3.gif" 
            width=16></TD>
          <TD align=left><A href="<?=site_url('users/forum');?>" 
            target=_blank>内部论坛</A></TD></TR>
        <TR>
        -->
          <TD>&nbsp;</TD>
          <TD>&nbsp;</TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD vAlign=bottom><IMG height=6 src="/images/admin/left_03.gif" 
      width=180></TD></TR></TBODY></TABLE></BODY></HTML>
